<!--
 * @FileDescription: 校验表单是否为空弹窗
 * @Author: 祝小文
 * @Date: 2022-10-21 13:18
-->
<script setup lang="ts">
const chemicalStore = useChemicalStore()
</script>

<template>
  <div class="form-check-dialog">
    <el-dialog v-model="chemicalStore.FormCheckConfirmShow" width="460px" :show-close="false">
      <div class="form-check-dialog-content">
        <div style="font-size: 24px; margin-bottom: 10px; font-weight: 700">
          <i></i>
          <span>系统提示</span>
        </div>

        <div style="display: flex; align-items: center">
          <span style="margin-top: 10px; font-size: 30px; color: #fe0000">*&nbsp;</span>
          <span>为必填项，请完成表单内容填写</span>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<style lang="less" scoped>
.form-check-dialog {
  /deep/.el-overlay-dialog {
    top: 200px;
  }
  /deep/.el-dialog {
    border: 1px solid #999;
    background: rgba(51, 51, 51, 0.9);
    border-radius: 4px;
    .el-dialog__header {
      margin: 0;
      padding: 0;
    }
    .form-check-dialog-content {
      color: #fffefe;
      font-size: 16px;
      text-align: center;
      i {
        display: inline-block;
        width: 26px;
        height: 26px;
        margin-right: 8px;
        background-image: url(@/assets/image/common/ts-icon.svg);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        vertical-align: sub;
      }
    }
  }
}

/deep/.el-dialog__body {
  padding: 10px 20px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>
